import java.util.Scanner;

/**
 * Created by hps on 17-4-27.
 */
public class BracketsApp {
    public static void main(String[] args) {
        System.out.println("Enter string containing delimiters:");
        String input = getString();
        BracketChecker checker = new BracketChecker(input);
        checker.check();
    }

    public static String getString() {
        Scanner in = new Scanner(System.in);
        return in.nextLine();
    }
}